<?php
/**
 * Core_Controller_Xssprotection
 * Core_Xssprotection_Controller
 * 
 * @author Adrian Stolarski
 */
class Core_Controller_Xssprotection implements Core_Controller_Xssprotectable {
    
    /**
     *
     * @var Object $xss_protection_model
     * xss protection model handler 
     */
    public $xss_protection_model;
    
    public function __construct() {
        $this->xss_protection_model = new Core_Model_Xssprotection;
    }
    
    /**
     * xss_entrypoint()
     * xss entry point parser
     * @param array $variables
     * @param type $action
     * @return array $variables
     */
    public function xss_entrypoint(array $variables = null, $action = null) {
        $variables = $this->xss_protection_model->xss_entrypoint($variables, $action);
        return $variables;
    }

}
